import React from 'react';
import { BrowserRouter as Router } from 'react-router-dom';
import routes from './config';
import RouterView from './routerView';
import Footer from '../components/footer';
const App = ()=>(
    <Router>
        <RouterView routes={routes}/>
        <Footer/>
    </Router>
)
export default App